Bug 480065 - wrong tree collapsed (or expanded) after having scrolled
authorKristian Rietveld <kris@gtk.org>
Thu, 26 Nov 2009 20:05:01 +0000 (21:05 +0100)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Sun, 4 Apr 2010 00:53:38 +0000 (20:53 -0400)
commit0cbf76ed476bd75cfac3419d620184024677418c
treeb5a150f7d1e13475437e521bdcb5276a542711d9
parent00ec5fcd7a264da2d91efa78a3e256e62c7c732e
Bug 480065 -  wrong tree collapsed (or expanded) after having scrolled

Commit again after revert.

Store (x, y) of last motion event.  From
gtk_tree_view_adjustment_changed(), call prelight_or_select() so that
the prelight is recalculated.  We do the same from
gtk_tree_view_size_allocate() for the case that clicking on an expander
shows new rows that resize the column(s) left of the expander.  This
means that the expander is moved horizontally, in such a case the
prelight also has to be reconsidered.
gtk/gtktreeprivate.h
gtk/gtktreeview.c